<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/WarehouseManagement/tpl/warehousetpl.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>新增海外仓库租金费</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">海外仓库租金总额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="totalRent" id="totalRent" value="0" autocomplete="off" class="layui-input" lay-verify="required|number">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">分摊天数</label>
                        <div class="layui-input-inline">
                            <input type="text" name="apportionedDays" id="apportionedDays" value="0" autocomplete="off" class="layui-input" lay-verify="required|number">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">每天分摊金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="dailyApportionmentAmount" id="dailyApportionmentAmount" value="0" readonly="readonly" autocomplete="off" class="layui-input" lay-verify="required|number">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">剩余金额</label>
                        <div class="layui-input-inline">
                            <input type="text" name="balance" id="balance" value="0" readonly="readonly" autocomplete="off" class="layui-input" lay-verify="required|number">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">执行日期</label>
                        <div class="layui-input-inline">
                            <div class="layui-input-inline">
                                <input type="text" name="executionDate" id="executionDate" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">分摊条件</label>
                        <div class="layui-input-inline">
                            <select name="sharingConditions" id="sharingConditions" lay-verify="required">
                                <option value=""></option>
                                <option value="1">净重</option>
                                <option value="2">毛重</option>
                                <option value="3">体积</option>
                                <option value="4">数量</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item zdy-item-css">
                    <div class="layui-inline">
                        <label class="layui-form-label xb_required">分摊仓库</label>
                        <div class="layui-input-inline">
                            <select lay-search name="warehouseCode" id="warehouseCode" lay-filter="warehouseCode" lay-verify="required">
                                <option value=""></option>
                            </select>
                            <input type="hidden" name="warehouseName" id="warehouseName">
                        </div>
                    </div>
                </div>
                <div class="padding text-right">
                    <button type="button" class="layui-btn" lay-submit="" lay-filter="form-element">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/WarehouseManagement/tpl/newRentalFee.js"></script>
<script src="statics/js/bignumber.js"></script>